Page({
    data: {
        value: '',
        likeList:['男士短袖','纯棉袜子','坐垫','短袖','硅脂']
    },

    //搜索框
    onSearch(e) {
      this.setData({
        value: e.detail,
    });
    this.setData({
      value: e.detail,
      likeList:this.data.likeList.concat(this.data.value)
  });
        console.log('搜索' + this.data.value);
    },
    onClick() {
      console.log('搜索' + this.data.value);
    },
    del(){
      this.setData({
        likeList:{}
      })
    }

});